<?php

    class ElementTableCreateFieldRow extends Element {
        public function Render( $hidden = false ) {
            ?><tr<?php
                if ( $hidden ) {
                    ?> style="display: none;"<?php
                }
                ?>>
                <td>
                    <a>
                        <img class="delete" src="images/table_row_delete.png" onclick="CreateTable.RemoveField( this.parentNode.parentNode.parentNode )" />
                    </a> <input type="text" />
                </td>
                <td><?php
                    Element( 'typeselect' );
                ?></td>
                <td><input type="text" size="10" /></td>
                <td><input type="text" /></td>
                <td><input type="checkbox" /></td>
                <td><input type="checkbox" /></td>
            </tr><?php
        }
    }

?>
